package plus.xj17520.org.service;

import plus.xj17520.basic.domain.BaseQuery;
import plus.xj17520.basic.util.PageList;
import plus.xj17520.org.domain.Department;

import java.util.List;

public interface IDepartmentService {

    //基础的查询


    Department loadById(Long id);

    void save(Department department);

    void update(Department department);

    void remove(Long id);

    PageList<Department> queryData(BaseQuery query);


    List<Department> findTree();

    void batchDelete(List<Long> ids);
}
